<template>
    <div class="child">
        孙子: {{title}}
        <br>
        家产： {{jiachan}}
        <button @click="$bus.$emit('hyy', '爷爷')">click</button>
    </div>
</template>

<script>
export default {
    inject: ['jiachan'],
    props: ["title"],
}
</script>

<style>

</style>